<!DOCTYPE html>
<html class="layui-bg-white">
<head th:include="include :: header"></head>
<body>
<div th:include="include :: footer"></div>
<div class="layui-form" style="padding:20px;">
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="required">*</span>视频名称：</label>
        <div class="layui-input-block">
            <input type="text" id="name" name="name" lay-verify="required" placeholder="请输入视频名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文件路径：</label>
        <div class="layui-input-block">
            <input type="text" id="fileUrl" name="fileUrl" placeholder="请输入文件路径" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">文件大小：</label>
        <div class="layui-input-block">
            <input type="text" id="fileSize" name="fileSize" placeholder="请输入文件大小" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">视频类型：</label>
        <div class="layui-input-block">
            <input type="text" id="type" name="type" placeholder="请输入视频类型" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label"><span class="required">*</span>视频上传：</label>
        <div class="layui-input-block">
            <seqb:upload-file domainName="VideoDO" domainField="fileUrl"/>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-operate-submit" id="LAY-operate-submit" value="确认">
    </div>
</div>
<script type="text/javascript">
    layui.config({
        base: ctx + '/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index'         //主入口模块
    }).use(['index', 'form'], function () {
        var $ = layui.$, form = layui.form;

        form.verify(commonJs.form.verify);
    })
</script>
</body>
</html>